<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <!-- 通过内嵌样式引入js，直接在script标签里面写js代码 -->
    <!-- js加载时按照hmtl引入的顺序 -->
    <script>
        console.log("hello world!")
    </script>
    <script>
        console.log("hello world1!")
    </script>
    <!-- <script src="jqury.js"></script>
    <script src=""></script> -->


</head>

<body>
    <h1>Javascript 基础</h1>
    <script>
        console.log("hello world2!")
    </script>
    <!-- 通过外链样式引入js，推荐放在内容的最后面 -->
    <script src="js/index.js">
        // 引入的文件里面不要写代码，写了代码也不会执行
        console.log(' I am in script tag')
    </script>
    <!-- <script>
        console.log("hello world3!")
    </script> -->
</body>

</html>